package com.wzc.product.mapper;

import com.wzc.basic.mapper.BaseMapper;
import com.wzc.product.domain.Product;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


public interface ProductMapper extends BaseMapper<Product> {


    void onSale(@Param("ids")List<Long> ids, @Param("onsaletime")Date date);

    void offSale(@Param("ids")List<Long> ids, @Param("offsaletime")Date date);
}
